#include "Date.h"

Date::Date(){
}
	
Date::Date(int dayIn, int monthIn, int yearIn){
	day = dayIn;
	month = monthIn;
	year = yearIn;
}
	 
void Date::setDay(int dayIn){
	day = dayIn;
}

void Date::setMonth(int monthIn){
	month = monthIn;
}
	 
void Date::setyear(int yearIn){
	year = yearIn;
}
	 
int Date::getDay(){
	return day;
}
	
int Date::getMonth(){
	return month;
}
	 
int Date::getYear(){
	return year;
}


string Date::getCombination(){
		std::stringstream ss, sss, ssss;
    	string s;
    	ss << day;
		sss << month;
		ssss << year;
   		s = ss.str() + "/" + sss.str() + "/" + ssss.str();

	return s;

}